package org.jeecg.modules.outOrderPt.service;

import org.jeecg.modules.outOrderPt.entity.OutOrderZiPt;
import org.jeecg.modules.outOrderPt.entity.OutOrderPt;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.beans.PropertyValues;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: pt出库单
 * @Author: jeecg-boot
 * @Date:   2024-07-24
 * @Version: V1.0
 */
public interface IOutOrderPtService extends IService<OutOrderPt> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(OutOrderPt outOrderPt,List<OutOrderZiPt> outOrderZiPtList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(OutOrderPt outOrderPt,List<OutOrderZiPt> outOrderZiPtList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	List<OutOrderPt> getByYear(String year, String month);
}
